package com.actimize.service;

import java.util.List;


import com.actimize.model.Account;


public interface AccountManager extends GenericManager<Account, Long> {
	
    Account getAccount(Long accountId);

    List<Account> getAccounts(Long userID);

    Account saveAccount(Account account);

    void removeAccount(Long accountID);

    /**
     * Search a user for search terms.
     * @param searchTerm the search terms.
     * @return a list of matches, or all if no searchTerm.
     */
    List<Account> search(String searchTerm);

}
